const state = {
    projectId: 0,
}

const mutations = {

    //保存项目编号
    ADD_PROJECTID: (state, projectId) => {
        state.projectId = projectId
    },

}

const actions = {

    addProjectId({ commit }, projectId) {
        commit('ADD_PROJECTID', projectId)
    },
}


export default {
    namespaced: true,
    state,
    mutations,
    actions
}